`define 12macro
//`undef macro

`define macro1

module cucu;
 
 initial begin
`ifdef macro
   `ifdef macro1
      $display("macro1 is defined");
   `endif
   $display("macro is defined");
`else   
   `ifdef macro1
      $display("macro1 is defined");
   `else
      $display("macro1 is not defined");
   `endif
    $display("macro is undefined");
`endif
  ; 
 end
endmodule
